﻿using System.Windows.Controls;
using BusTrackerSystem.ViewModel;

namespace BusTrackerSystem.View
{
    /// <summary>
    /// Interaction logic for TrackerPanel.xaml
    /// </summary>
    public partial class TrackerPanelView : UserControl
    {
        private TrackerPanelViewModel _viewModel;

        //TODO: Should be able to make this in XAML with dependency objects on the View, see KinectTextBlock
        public TrackerPanelView(TrackerPanelViewModel viewModel)
        {
            InitializeComponent();

            _viewModel = viewModel;
            this.DataContext = _viewModel;
        }
    }
}
